package com.xiaoyao.login.listener;

import org.springframework.stereotype.Component;

/**
 * @Classname CommonEntityListener
 * @Description TODO
 * @Date 2022/4/20 17:09
 * @Created by Lenovo
 */
@Component
public class CommonEntityListener implements DomainObjectListener {

    @Override
    public boolean supports(Object entity) {
        return true;
    }

    @Override
    public int getOrder() {
        // 确保在最后调用
        return Integer.MAX_VALUE;
    }
}
